import request from '@/utils/request'

// 查询个人用户退款列表-新增列表
export function listUserRefundList(query) {
  return request({
    url: '/boss/UserRefundList/list',
    method: 'get',
    params: query
  })
}

// 查询个人用户退款列表-新增详细
export function getUserRefundList(refundId) {
  return request({
    url: '/boss/UserRefundList/' + refundId,
    method: 'get'
  })
}

// 新增个人用户退款列表-新增
export function addUserRefundList(data) {
  return request({
    url: '/boss/UserRefundList',
    method: 'post',
    data: data
  })
}

// 修改个人用户退款列表-新增
export function updateUserRefundList(data) {
  return request({
    url: '/boss/UserRefundList',
    method: 'put',
    data: data
  })
}

// 删除个人用户退款列表-新增
export function delUserRefundList(refundId) {
  return request({
    url: '/boss/UserRefundList/' + refundId,
    method: 'delete'
  })
}
